package com.gym.myshop.dao;

import com.gym.myshop.entity.Item;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @author ming
 * 2021/11/8
 * description:订单信息
 */
public interface ItemDao {

    //批量新增订单信息
    void addItems(List<Item> items) throws SQLException;

    //获取查看订单信息  oid订单编号是字符串类型但是也是唯一标识
    List<Item> getItemListByOid(String oid) throws SQLException, InvocationTargetException, IllegalAccessException;

}
